<html>
<head><meta charset="utf-8"><title>deeply nested closures runtime · t-compiler/performance · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/index.html">t-compiler/performance</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html">deeply nested closures runtime</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="213697210"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213697210" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213697210">(Oct 18 2020 at 09:09)</a>:</h4>
<p>Looking at the status page, <a href="https://perf.rust-lang.org/status.html">https://perf.rust-lang.org/status.html</a> <br>
<code>deeply-nested-closures</code> runs for around 34 minutes !<br>
This is longer than the rustc compile run.<br>
When looking at the graphs though, I can't spot anything that looks wrong.<br>
Why does it take to long to benchmark?</p>



<a name="213697493"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213697493" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mario Carneiro <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213697493">(Oct 18 2020 at 09:16)</a>:</h4>
<p>It looks like that's just the expected time?</p>



<a name="213697548"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213697548" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Mario Carneiro <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213697548">(Oct 18 2020 at 09:18)</a>:</h4>
<p>From <a href="https://perf.rust-lang.org/index.html">https://perf.rust-lang.org/index.html</a> it looks like before 9/18 the <code>deeply-nested-closures-debug</code> and <code>deeply-nested-closures-opt</code> tests had really bad performance, but it has since been fixed. Perhaps the expected time is a running average that is still influenced by this</p>



<a name="213697735"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213697735" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213697735">(Oct 18 2020 at 09:23)</a>:</h4>
<p>was this a perf run for <a href="https://github.com/rust-lang/rust/pull/76814">https://github.com/rust-lang/rust/pull/76814</a>?</p>



<a name="213699474"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213699474" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mati865 <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213699474">(Oct 18 2020 at 10:09)</a>:</h4>
<p><span class="user-mention silent" data-user-id="216206">lcnr</span> <a href="#narrow/stream/247081-t-compiler.2Fperformance/topic/deeply.20nested.20closures.20runtime/near/213697735">said</a>:</p>
<blockquote>
<p>was this a perf run for <a href="https://github.com/rust-lang/rust/pull/76814">https://github.com/rust-lang/rust/pull/76814</a>?</p>
</blockquote>
<p>That must have been the case, <code>deeply-nested-closures</code> now takes 25 seconds.</p>



<a name="213706554"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213706554" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213706554">(Oct 18 2020 at 13:31)</a>:</h4>
<p>oh that shows up then? I expected it would only look at the master branch when getting the "expected" times for a previous run <span aria-label="sweat smile" class="emoji emoji-1f605" role="img" title="sweat smile">:sweat_smile:</span></p>



<a name="213707340"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/247081-t-compiler/performance/topic/deeply%20nested%20closures%20runtime/near/213707340" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/247081-t-compiler/performance/topic/deeply.20nested.20closures.20runtime.html#213707340">(Oct 18 2020 at 13:50)</a>:</h4>
<p>it <em>should</em> but I haven't implemented that :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>